package com.joven.shelltest.test;

import java.util.stream.Collectors;
import java.util.stream.Stream;

/**
 * @Author wzj
 * @Date 2023-12-06 08:51
 **/
public class OtherTest15 {
    public static void main(String[] args) {
        Stream.of("beijing","tianjin","shanghai","wuhan")
                .map(String::length)
                .filter(e->e>5)
                .collect(Collectors.toList());
    }
}
